package com.upic.service;

import com.upic.po.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface UserService {
    User saveUser(User User);

    String deleteUser(long userId);

    Page<User> searchUser(Pageable pageable);

    List<User> searchUser();

    User findOne(long userId);

    User updateUser(User user);

}
